<?php
defined('PPP_PATH') or define('PPP_PATH',dirname(__FILE__).DIRECTORY_SEPARATOR);

require_once PPP_PATH . 'MPaaa.php';
require_once PPP_PATH . 'MPactive.php';
require_once PPP_PATH . 'MPprofile.php';
require_once PPP_PATH . 'MPsecret.php';

/**
 * Description of Mapi_Ppp
 *
 * @author      Krisna Pranata krisna.pranata@gmail.com <http://vthink.web.id>
 * @author      Lalu Erfandi Maula Yusnu nunenuh@gmail.com <http://vthink.web.id>
 * @copyright   Copyright (c) 2011, Virtual Think Team.
 * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
 * @category	Libraries
 */
class MPpp {
    private $talker;
    function __construct(Talker $talker) {
        $this->talker = $talker;
    }
        
    /**
     * This method for call class Mapi_Ppp_Profile
     * @return Object of Mapi_Ppp_Profile class
     */
    public function ppp_profile(){
        return new MPprofile($this->talker);
    }
    
    /**
     * This method for call class Mapi_Ppp_Secret
     * @return Object of Mapi_Ppp_Secret
     */
    public function ppp_secret(){
        return new MPsecret($this->talker);
    }
    
    
    /**
     * This method for call class Mapi_Ppp_Aaa
     * @access public
     * @return object of Mapi_Ppp_Aaa class
     */
    public function ppp_aaa(){
        return new MPaaa($this->talker);
    }
    
    /**
     * This method for call class Mapi_Ppp_Active
     * @return Object of Mapi_Ppp_Active class
     */
    public function ppp_active(){
        return new MPactive($this->talker);
    }
}